<!doctype html>
<html class="no-js">
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="description" content="">
  <meta name="keywords" content="">
  <meta name="viewport"
        content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <title>信息查看页面</title>

  <!-- Set render engine for 360 browser -->
  <meta name="renderer" content="webkit">

  <!-- No Baidu Siteapp-->
  <meta http-equiv="Cache-Control" content="no-siteapp"/>

  <link rel="icon" type="image/png" href="assets/i/favicon.png">

  <!-- Add to homescreen for Chrome on Android -->
  <meta name="mobile-web-app-capable" content="yes">
  <link rel="icon" sizes="192x192" href="assets/i/app-icon72x72@2x.png">

  <!-- Add to homescreen for Safari on iOS -->
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
  <link rel="apple-touch-icon-precomposed" href="assets/i/app-icon72x72@2x.png">

  <!-- Tile icon for Win8 (144x144 + tile color) -->
  <meta name="msapplication-TileImage" content="assets/i/app-icon72x72@2x.png">
  <meta name="msapplication-TileColor" content="#0e90d2">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <link rel="stylesheet" href="assets/css/amazeui.min.css">
    <script src="assets/js/jquery.min.js"></script>
	<script src="assets/js/amazeui.js"></script>
	<script src="assets/js/memu.js"></script>
	<script src="assets/js/PublicFunction.js"></script>	
	<script src="assets/js/baiduTemplate.js"></script>

  <style type="text/css">
  
 .box{ border:1px solid #ff6187; width:20px; height:20px; margin:0 auto;
	-webkit-border-radius:50px;
	-moz-border-radius:50px;
	-o-border-radius:50px;
	border-radius:50px;
	text-align: center;
	line-height: 16px;
	background-color: #ff6187;
	color: #feeef1;
	
} 

.msg_title{
	color: black;
	font-weight: bold;
	
}	   
	 
	
	

  </style>
</head>
<body>



<div id="parent" >
<div data-am-sticky id="header">
	<header data-am-widget="header" class="am-header am-header-default">
		<div class="am-header-left am-header-nav">
			<a  href="javascript:backA()" class="">
				
				<i class="am-header-icon am-icon-chevron-left"></i>
			</a>
		</div>
		<h1 class="am-header-title" style="font-size:14px;">
			系统信息
		</h1>
		<div class="am-header-right am-header-nav">
			<a href="javascript:menu()" class="">
				<i class="am-header-icon am-icon-list-ul"></i>
			</a>
			
		</div>
	<!-- 遮罩-->
	<div class="am-modal am-modal-no-btn" tabindex="-1" id="memu-modal">
  
	</div>
	</header>
</div>
	

	
	
                  
<div data-am-widget="list_news" class="am-list-news am-list-news-default">
	<div class="am-list-news-bd" >
		<ul class="am-list" id="div_msg">
		<script type="text/javascript" id='msg_info'>  
		 <% for(var i=0;i<list.length;i++){ %> 
		 
		<li class="am-g am-list-item-desced am-list-item-thumbed am-list-item-thumb-left"  >
			<div class="am-u-sm-4 am-list-thumb" >
			<!--系统信息-->
			 <% if(list[i].type == 1){%>  
				<div style="width: 80px; height: 80px;background-image:url('assets/img/msg_xt.png');
					 <% } %> 
			<!--意见信息-->
			 <% if(list[i].type == 2){%>  
				 <div style="width: 80px; height: 80px;background-image:url('assets/img/msg_xt.png');
				<% } %> 
				  filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale');
   				-moz-background-size:100% 100%;
  					 background-size:100% 100%;">
					
				</div>
					
				
			</div>
			
			<div class=" am-u-sm-8 am-list-main">
	
				<h3 class="am-list-item-hd" >
		
			
			 <% if(list[i].type == 1){%>  
				<a href="javascript:chackMSGCentent('<%=list[i].id%>');" class="msg_title" 
				
			   <% if(list[i].isread == 0){%>  
					style="color:red;"
				<%}%>
				>系统信息 </a>
				<% } %> 
				
				 <% if(list[i].type == 2){%>  
					<a href="javascript:chackMSGCentent('<%=list[i].id%>');" class="msg_title"    
					<% if(list[i].isread == 0){%>  
					style="color:red;"
						<%}%>
				>意见反馈</a>
					<% } %> 
			</h3>
			<div class="am-list-item-text"  style="  white-space:nowrap; text-overflow:ellipsis; -o-text-overflow:ellipsis; overflow: hidden;  ">
			
			<%=list[i].content%>
			
			</div>
				<div class="am-list-item-text" ><%=list[i].CreateDate%></div>
			</div>
		
			
		</li>
		<% } %> 
  </script> 
		</ul>
	</div>
</div>

 
</div>




<script type="text/javascript">
function init(w,h) {

	<!--添加系统信息-->
	 var sjson = MsgFunction.getmsgjson();

	 if(sjson!=null&&sjson.length>0){
	
		 var json = strToJson(sjson);
		 var data={
					list:json
				} 
			var bat=baidu.template;
			var title_img_html=bat('msg_info',data);
			//渲染
			document.getElementById('div_msg').innerHTML=title_img_html;  
	 } 
	 
	

	//生成menu
	generateMenu();




	
  };
  
 //查看信息详情
  function chackMSGCentent(id){
	  MsgFunction.chackMSGCentent(id);
	  
  };
 

  
 

</script>
</body>
</html>
	